package com.meihua.shellapp.utils;

/**
 * Created by ${zhangyuanchao} on 2017/11/23.
 */

public class FastClickUtils {
    private static long lastTime;

    public static boolean isFastClick() {
        boolean flag = false;
        long currentTime = System.currentTimeMillis();
        if (currentTime - lastTime >= 1000) {
            flag = true;
        }
        lastTime = currentTime;
        return flag;
    }
}
